package com.liu.common;

import com.liu.entity.Property;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Mr.Liu
 * @version 1.0
 * @date 2024/8/11 11:28
 */
public class ParentTemplate  {

    private String tableName;
    private String primaryKey; //主键
    private String columnPrimaryKey; //数据库中的主主键
    private String MapperName; //mapper接口名称
    private String ModelName; //实体名称
    private String packageName; //包名
    private String funcName; //模块名称
    private String className; //类名
    private List<Property> varList;

    public ParentTemplate() {
        this.varList = new ArrayList<Property>();
    }


    @Override
    public String toString() {
        return "ParentTemplate{" +
                "tableName='" + tableName + '\'' +
                ", primaryKey='" + primaryKey + '\'' +
                ", columnPrimaryKey='" + columnPrimaryKey + '\'' +
                ", MapperName='" + MapperName + '\'' +
                ", ModelName='" + ModelName + '\'' +
                ", packageName='" + packageName + '\'' +
                ", funcName='" + funcName + '\'' +
                ", className='" + className + '\'' +
                ", varList=" + varList +
                '}';
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getMapperName() {
        return MapperName;
    }

    public void setMapperName(String mapperName) {
        MapperName = mapperName;
    }

    public String getModelName() {
        return ModelName;
    }

    public void setModelName(String modelName) {
        ModelName = modelName;
    }

    public String getColumnPrimaryKey() {
        return columnPrimaryKey;
    }

    public void setColumnPrimaryKey(String columnPrimaryKey) {
        this.columnPrimaryKey = columnPrimaryKey;
    }

    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }


    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getFuncName() {
        return funcName;
    }

    public void setFuncName(String funcName) {
        this.funcName = funcName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<Property> getVarList() {
        return varList;
    }

    public void setVarList(List<Property> varList) {
        this.varList = varList;
    }
}
